// import Login from '../pages/login'
// import Home from '../pages/home'
import AsyncRouter from '../utils/asyncRouter'
const Login = AsyncRouter(()=>import('../pages/login'))
const Home = AsyncRouter(()=>import('../pages/home'))
export const routeList = [
    {
        from:"/",
        to:"/login"
    },
    {
        path:'/login',
        component:Login
    },
    {
        path:'/home',
        component:Home
    }
]